package a.j;

import a.b.c;
import a.c.e;
import a.c.m;
import a.d.k;
import a.i.fb;
import a.i.ob;
import a.i.pb;
import a.i.rb;
import a.i.s;

import java.awt.*;
import java.awt.geom.AffineTransform;
import java.awt.geom.GeneralPath;
import java.awt.geom.PathIterator;
import java.awt.geom.Point2D;
import java.awt.image.*;
import java.util.ArrayList;
import java.util.Random;

final class vc
{
  static final a.i.qb a = new a.i.qb()
  {
    public void a(double paramAnonymousDouble) {}
    
    public void b(double paramAnonymousDouble) {}
  };
  static final double b = 1.0D;
  
  static BufferedImage a(ConvolveOp paramConvolveOp, BufferedImage paramBufferedImage1, BufferedImage paramBufferedImage2)
  {
    try
    {
      return paramConvolveOp.filter(paramBufferedImage1, paramBufferedImage2);
    }
    catch (ImagingOpException localImagingOpException) {}
    return a(paramBufferedImage1, paramBufferedImage2);
  }
  
  private static BufferedImage a(BufferedImage paramBufferedImage1, BufferedImage paramBufferedImage2)
  {
    if (!ld.E) {
      if (paramBufferedImage2 == null)
      {
        localObject1 = paramBufferedImage1.getColorModel();
        paramBufferedImage2 = new BufferedImage((ColorModel)localObject1, ((ColorModel)localObject1).createCompatibleWritableRaster(paramBufferedImage1.getWidth(), paramBufferedImage1.getHeight()), ((ColorModel)localObject1).isAlphaPremultiplied(), null);
      }
    }
    Object localObject1 = paramBufferedImage2.createGraphics();
    try
    {
      ((Graphics2D)localObject1).drawImage(paramBufferedImage1, 0, 0, null);
    }
    finally
    {
      ((Graphics2D)localObject1).dispose();
    }
    return paramBufferedImage2;
  }
  
  private static void a(ld paramld, oc paramoc)
  {
    boolean bool2 = ld.E;
    boolean bool1 = ld.D;
    g localg = paramld.S();
    do
    {
      m localm = paramld.n().l();
      while (!bool1)
      {
        if (!localm.e()) {
          break;
        }
        paramoc.a(localg.t(localm.a()));
        localm.f();
      }
    } while (bool2);
  }
  
  private static void b(ld paramld, oc paramoc)
  {
    boolean bool2 = ld.E;
    boolean bool1 = ld.D;
    g localg = paramld.S();
    do
    {
      m localm = paramld.n().l();
      while (!bool1)
      {
        if (!localm.e()) {
          break;
        }
        paramoc.b(localg.t(localm.a()));
        localm.f();
      }
    } while (bool2);
  }
  
  static BufferedImage a(Rectangle paramRectangle)
  {
    paramRectangle.width = ((int)(paramRectangle.width * 1.0D));
    paramRectangle.height = ((int)(paramRectangle.height * 1.0D));
    GraphicsConfiguration localGraphicsConfiguration = GraphicsEnvironment.getLocalGraphicsEnvironment().getDefaultScreenDevice().getDefaultConfiguration();
    return localGraphicsConfiguration.createCompatibleImage(paramRectangle.width, paramRectangle.height, 3);
  }
  
  static BufferedImage a(ac paramac, Rectangle paramRectangle, pg parampg)
  {
    boolean bool = ld.E;
    BufferedImage localBufferedImage = a(paramRectangle);
    Graphics2D localGraphics2D = localBufferedImage.createGraphics();
    try
    {
      if (!bool)
      {
        if (parampg != null)
        {
          if (!bool)
          {
            if (parampg.ab())
            {
              localGraphics2D.setRenderingHint(RenderingHints.KEY_TEXT_ANTIALIASING, RenderingHints.VALUE_TEXT_ANTIALIAS_ON);
              localGraphics2D.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON);
            }
            localGraphics2D.setRenderingHints(parampg.bb());
            if (bool) {
              break label138;
            }
          }
          if (!ld.D) {}
        }
        else
        {
          localGraphics2D.setRenderingHint(RenderingHints.KEY_TEXT_ANTIALIASING, RenderingHints.VALUE_TEXT_ANTIALIAS_ON);
        }
      }
      else {
        localGraphics2D.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON);
      }
      localGraphics2D.scale(1.0D, 1.0D);
      localGraphics2D.translate(-paramRectangle.x, -paramRectangle.y);
      paramac.paint(localGraphics2D);
    }
    finally
    {
      label138:
      localGraphics2D.dispose();
    }
    return localBufferedImage;
  }
  
  static mb_ a(ac paramac, Rectangle paramRectangle)
  {
    BufferedImage localBufferedImage = a(paramRectangle);
    return new mb_(paramac, localBufferedImage, paramRectangle);
  }
  
  static mb_ b(ac paramac, Rectangle paramRectangle, pg parampg)
  {
    return new mb_(paramac, a(paramac, paramRectangle, parampg), paramRectangle);
  }
  
  static ac a(qb paramqb)
  {
    if ((ld.E) || ((paramqb instanceof ac))) {
      return (ac)paramqb;
    }
    new ac()
    {
      private final qb val$drawable;
      
      public void a(Graphics2D paramAnonymousGraphics2D)
      {
        this.val$drawable.paint(paramAnonymousGraphics2D);
      }
      
      public void paint(Graphics2D paramAnonymousGraphics2D)
      {
        this.val$drawable.paint(paramAnonymousGraphics2D);
      }
      
      public Rectangle getBounds()
      {
        return this.val$drawable.getBounds();
      }
    };
  }
  
  static final class ub_
  {
    static ConvolveOp[][] a;
    static ConvolveOp[] b;
    
    static double a(double paramDouble1, double paramDouble2)
    {
      double d1 = 1.0D / (Math.sqrt(6.283185307179586D) * paramDouble1);
      double d2 = 0.0D;
      for (double d3 = paramDouble2 - 0.5D; d3 < paramDouble2 + 0.6D; d3 += 0.1D) {
        d2 += d1 * Math.pow(2.718281828459045D, -d3 * d3 / (2.0D * paramDouble1 * paramDouble1));
      }
      d2 /= 11.0D;
      return d2;
    }
    
    static double a(double paramDouble1, double paramDouble2, double paramDouble3)
    {
      double d1 = 1.0D / (6.283185307179586D * paramDouble1 * paramDouble1);
      double d2 = 0.0D;
      for (double d3 = paramDouble3 - 0.5D; d3 < paramDouble3 + 0.6D; d3 += 0.1D) {
        for (double d4 = paramDouble2 - 0.5D; d4 < paramDouble2 + 0.6D; d4 += 0.1D) {
          d2 += d1 * Math.pow(2.718281828459045D, -(d4 * d4 + d3 * d3) / (2.0D * paramDouble1 * paramDouble1));
        }
      }
      d2 /= 121.0D;
      return d2;
    }
    
    static float[] a(double paramDouble, int paramInt)
    {
      float[] arrayOfFloat = new float[paramInt];
      float f1 = 0.0F;
      for (int i = 0; i < paramInt; i++)
      {
        float f2 = (float)a(paramDouble, i - paramInt * 0.5D);
        arrayOfFloat[i] = f2;
        f1 += f2;
      }
      for (i = 0; i < arrayOfFloat.length; i++) {
        arrayOfFloat[i] /= f1;
      }
      return arrayOfFloat;
    }
    
    static float[] c(double paramDouble, int paramInt)
    {
      float[] arrayOfFloat = new float[paramInt * paramInt];
      float f1 = 0.0F;
      for (int i = 0; i < paramInt; i++) {
        for (int j = 0; j < paramInt; j++)
        {
          float f2 = (float)a(paramDouble, j - paramInt * 0.5D, i - paramInt * 0.5D);
          arrayOfFloat[(j + i * paramInt)] = f2;
          f1 += f2;
        }
      }
      for (i = 0; i < arrayOfFloat.length; i++) {
        arrayOfFloat[i] /= f1;
      }
      return arrayOfFloat;
    }
    
    static
    {
      int[] arrayOfInt = { 5, 7, 9, 9, 11, 11, 13, 13, 15, 15 };
      double[] arrayOfDouble = { 0.5D, 1.0D, 1.5D, 2.0D, 2.33D, 2.66D, 3.0D, 3.33D, 3.66D, 4.0D };
      a = new ConvolveOp[10][2];
      b = new ConvolveOp[10];
      for (int i = 0; i < a.length; i++)
      {
        a[i][0] = new ConvolveOp(new Kernel(arrayOfInt[i], 1, a(arrayOfDouble[i], arrayOfInt[i])));
        a[i][1] = new ConvolveOp(new Kernel(1, arrayOfInt[i], a(arrayOfDouble[i], arrayOfInt[i])));
        b[i] = new ConvolveOp(new Kernel(arrayOfInt[i], arrayOfInt[i], c(arrayOfDouble[i], arrayOfInt[i])));
      }
    }
  }
  
  static final class l_
    implements ac
  {
    private static final double a = 1.570796326794897D;
    private final Rectangle b;
    private final ac c;
    private final boolean d;
    private fb e;
    private fb f;
    
    l_(ac paramac, boolean paramBoolean)
    {
      this.c = paramac;
      this.d = paramBoolean;
      Rectangle localRectangle = paramac.getBounds();
      this.e = s.a(localRectangle.getCenterX(), localRectangle.getCenterY());
      this.f = s.c();
      this.b = new Rectangle(localRectangle);
    }
    
    public Rectangle getBounds()
    {
      Rectangle localRectangle = this.c.getBounds();
      double d1 = Math.ceil(localRectangle.getWidth());
      double d2 = Math.ceil(localRectangle.getHeight());
      double d3 = this.e.a();
      double d4 = this.e.b();
      AffineTransform localAffineTransform = new AffineTransform();
      localAffineTransform.translate(d3, d4);
      localAffineTransform.rotate(c());
      localAffineTransform.translate(-d3, -d4);
      k.a(d3 - d1 * 0.5D, d4 - d2 * 0.5D, d1, d2, localAffineTransform, this.b);
      return this.b;
    }
    
    public void paint(Graphics2D paramGraphics2D)
    {
      a(paramGraphics2D, false);
    }
    
    public void a(Graphics2D paramGraphics2D)
    {
      a(paramGraphics2D, true);
    }
    
    private void a(Graphics2D paramGraphics2D, boolean paramBoolean)
    {
      boolean bool = ld.E;
      AffineTransform localAffineTransform = paramGraphics2D.getTransform();
      Rectangle localRectangle = this.c.getBounds();
      paramGraphics2D.translate(this.e.a(), this.e.b());
      paramGraphics2D.rotate(c());
      paramGraphics2D.translate(-localRectangle.x - localRectangle.getWidth() * 0.5D, -localRectangle.y - localRectangle.getHeight() * 0.5D);
      if (!bool)
      {
        if (paramBoolean)
        {
          this.c.a(paramGraphics2D);
          if (bool) {
            return;
          }
        }
      }
      else {
        if (!ld.D) {
          break label129;
        }
      }
      this.c.paint(paramGraphics2D);
      label129:
      paramGraphics2D.setTransform(localAffineTransform);
    }
    
    a.i.qb a()
    {
      return this.e;
    }
    
    a.i.qb b()
    {
      return this.f;
    }
    
    private double c()
    {
      boolean bool = ld.E;
      double d1 = Math.atan2(this.f.b(), this.f.a());
      if (!bool) {
        if (!this.d) {
          return d1;
        }
      }
      if (!bool)
      {
        if (d1 < -1.570796326794897D)
        {
          if (bool) {
            break label86;
          }
          d1 += 3.141592653589793D;
          if (!ld.D) {}
        }
        else
        {
          if (bool) {
            break label86;
          }
        }
      }
      else if (d1 > 1.570796326794897D) {
        d1 -= 3.141592653589793D;
      }
      label86:
      return d1;
    }
  }
  
  static final class d_
    implements ac
  {
    private final ld a;
    private final Rectangle b;
    
    d_(ld paramld)
    {
      this.a = paramld;
      this.b = new Rectangle();
    }
    
    public void a(Graphics2D paramGraphics2D)
    {
      boolean bool = this.a.D();
      this.a.d(true);
      this.a.c(paramGraphics2D);
      this.a.d(bool);
    }
    
    public void paint(Graphics2D paramGraphics2D)
    {
      boolean bool = this.a.D();
      this.a.d(true);
      this.a.e(paramGraphics2D);
      this.a.d(bool);
    }
    
    public Rectangle getBounds()
    {
      this.b.width = -1;
      this.b.height = -1;
      this.a.b(this.b);
      return this.b;
    }
  }
  
  static final class ib_
    implements ac
  {
    private final hg a;
    private final Rectangle b;
    
    ib_(hg paramhg)
    {
      this.a = paramhg;
      this.b = new Rectangle();
    }
    
    public void a(Graphics2D paramGraphics2D) {}
    
    public void paint(Graphics2D paramGraphics2D)
    {
      boolean bool = this.a.B();
      this.a.f(true);
      this.a.a(paramGraphics2D);
      this.a.f(bool);
    }
    
    public Rectangle getBounds()
    {
      this.b.width = -1;
      this.b.height = -1;
      this.a.a(this.b);
      return this.b;
    }
  }
  
  static final class nb_
    implements ac
  {
    private final tb a;
    private final Rectangle b;
    
    nb_(tb paramtb)
    {
      this.a = paramtb;
      this.b = new Rectangle();
    }
    
    public void a(Graphics2D paramGraphics2D)
    {
      boolean bool = this.a.K();
      this.a.b(true);
      this.a.a(paramGraphics2D);
      this.a.b(bool);
    }
    
    public void paint(Graphics2D paramGraphics2D)
    {
      boolean bool = this.a.K();
      this.a.b(true);
      this.a.c(paramGraphics2D);
      this.a.b(bool);
    }
    
    public Rectangle getBounds()
    {
      this.b.width = -1;
      this.b.height = -1;
      this.a.a(this.b);
      return this.b;
    }
  }
  
  static final class wb_
    extends g
    implements ac
  {
    wb_()
    {
      b(new b_());
      a(new a_());
    }
    
    public void paint(Graphics2D paramGraphics2D)
    {
      boolean bool2 = ld.E;
      boolean bool1 = ld.D;
      do
      {
        m localm = w();
        while (!bool1)
        {
          if (!localm.e()) {
            break;
          }
          t(localm.a()).c(paramGraphics2D);
          localm.f();
        }
      } while (bool2);
    }
    
    public void a(Graphics2D paramGraphics2D)
    {
      boolean bool2 = ld.E;
      boolean bool1 = ld.D;
      do
      {
        m localm = w();
        while (!bool1)
        {
          if (!localm.e()) {
            break;
          }
          t(localm.a()).a(paramGraphics2D);
          localm.f();
        }
      } while (bool2);
    }
    
    public Rectangle getBounds()
    {
      return d();
    }
    
    e a(Point2D paramPoint2D)
    {
      return a(paramPoint2D.getX(), paramPoint2D.getY());
    }
    
    static final class b_
      extends ld
    {
      b_() {}
      
      b_(ld paramld)
      {
        super();
      }
      
      public ld a(ld paramld)
      {
        return new b_(paramld);
      }
      
      public boolean b(double paramDouble1, double paramDouble2, double paramDouble3, double paramDouble4, Point2D paramPoint2D)
      {
        if (!ld.E) {
          if (f(paramDouble1, paramDouble2))
          {
            paramPoint2D.setLocation(A(), B());
            return true;
          }
        }
        return super.b(paramDouble1, paramDouble2, paramDouble3, paramDouble4, paramPoint2D);
      }
      
      protected void a(Graphics2D paramGraphics2D) {}
    }
    
    static final class a_
      extends xb
    {
      a_() {}
      
      a_(tb paramtb)
      {
        super();
      }
      
      public tb b(tb paramtb)
      {
        return new a_(paramtb);
      }
      
      protected void f(Graphics2D paramGraphics2D) {}
    }
  }
  
  static class mb_
    implements ac
  {
    private final ac a;
    private final BufferedImage b;
    private final Rectangle c;
    private final pb d;
    private pb e;
    
    mb_(ac paramac, BufferedImage paramBufferedImage, Rectangle paramRectangle)
    {
      this.a = paramac;
      this.b = paramBufferedImage;
      this.c = new Rectangle(paramRectangle.x, paramRectangle.y, paramRectangle.width, paramRectangle.height);
      this.d = s.a(paramRectangle.getWidth() * 0.5D, paramRectangle.getHeight() * 0.5D);
      this.e = new vc.pb_(paramac);
    }
    
    int a()
    {
      return this.c.width;
    }
    
    int b()
    {
      return this.c.height;
    }
    
    public void paint(Graphics2D paramGraphics2D)
    {
      getBounds();
      paramGraphics2D.drawImage(this.b, this.c.x, this.c.y, null);
    }
    
    public void a(Graphics2D paramGraphics2D)
    {
      this.a.a(paramGraphics2D);
    }
    
    public Rectangle getBounds()
    {
      this.c.x = ((int)(this.e.a() - this.d.a()));
      this.c.y = ((int)(this.e.b() - this.d.b()));
      return this.c;
    }
  }
  
  static final class rb_
    implements ac
  {
    static final int a = 0;
    static final int b = 1;
    static final int c = 2;
    static final int d = 3;
    static final int e = 4;
    static final int f = 5;
    private final ac g;
    private final double[] h;
    private final Rectangle i;
    
    public rb_(ac paramac)
    {
      this.g = paramac;
      this.h = new double[] { 1.0D, 0.0D, 1.0D, 1.0D, 0.0D, 0.0D };
      this.i = new Rectangle(paramac.getBounds());
    }
    
    public Rectangle getBounds()
    {
      Rectangle localRectangle = this.g.getBounds();
      double d1 = localRectangle.getCenterX();
      double d2 = localRectangle.getCenterY();
      AffineTransform localAffineTransform = new AffineTransform();
      localAffineTransform.translate(d1, d2);
      localAffineTransform.rotate(this.h[1]);
      localAffineTransform.shear(this.h[2], this.h[3]);
      localAffineTransform.scale(this.h[4], this.h[5]);
      localAffineTransform.translate(-d1, -d2);
      k.a(localRectangle.getX(), localRectangle.getY(), localRectangle.width, localRectangle.height, localAffineTransform, this.i);
      return this.i;
    }
    
    public void paint(Graphics2D paramGraphics2D)
    {
      a(paramGraphics2D, false);
    }
    
    public void a(Graphics2D paramGraphics2D)
    {
      a(paramGraphics2D, true);
    }
    
    private void a(Graphics2D paramGraphics2D, boolean paramBoolean)
    {
      boolean bool = ld.E;
      if ((bool) || ((0.0D == this.h[4]) || (0.0D == this.h[5]))) {
        return;
      }
      AffineTransform localAffineTransform1 = paramGraphics2D.getTransform();
      Composite localComposite = paramGraphics2D.getComposite();
      paramGraphics2D.setComposite(AlphaComposite.getInstance(3, (float)this.h[0]));
      Rectangle localRectangle = this.g.getBounds();
      double d1 = localRectangle.getCenterX();
      double d2 = localRectangle.getCenterY();
      AffineTransform localAffineTransform2 = new AffineTransform();
      localAffineTransform2.translate(d1, d2);
      localAffineTransform2.rotate(this.h[1]);
      localAffineTransform2.shear(this.h[2], this.h[3]);
      localAffineTransform2.scale(this.h[4], this.h[5]);
      localAffineTransform2.translate(-d1, -d2);
      paramGraphics2D.transform(localAffineTransform2);
      if (!bool)
      {
        if (paramBoolean)
        {
          this.g.a(paramGraphics2D);
          if (bool) {
            return;
          }
        }
      }
      else {
        if (!ld.D) {
          break label204;
        }
      }
      this.g.paint(paramGraphics2D);
      label204:
      paramGraphics2D.setComposite(localComposite);
      paramGraphics2D.setTransform(localAffineTransform1);
    }
  }
  
  static final class cb_
    extends vc.n_
  {
    private final pg c;
    private final pb d;
    private final oc e;
    private pb f;
    
    public cb_(pb parampb, pg parampg, vc.ob_ paramob_, long paramLong, oc paramoc)
    {
      super(paramLong);
      this.c = parampg;
      this.d = parampb;
      this.e = paramoc;
    }
    
    public void a()
    {
      this.f = s.b(this.c.J());
      super.a();
    }
    
    public void a(double paramDouble)
    {
      double d1 = 1.0D - paramDouble;
      this.c.a(d1 * this.f.a() + paramDouble * this.d.a(), d1 * this.f.b() + paramDouble * this.d.b());
      if ((ld.E) || (this.e != null)) {
        this.e.c();
      }
    }
    
    public void b()
    {
      this.f = null;
      super.b();
    }
    
    void f()
    {
      this.c.a(this.f.a(), this.f.b());
    }
  }
  
  static final class bb_
    extends vc.n_
  {
    private final tb c;
    private final ob d;
    private final rb e;
    private final oc f;
    private Color g;
    private boolean h;
    
    public bb_(tb paramtb, ob paramob, rb paramrb, vc.ob_ paramob_, long paramLong, oc paramoc)
    {
      super(paramLong);
      this.c = paramtb;
      this.d = paramob;
      this.e = paramrb;
      this.f = paramoc;
      this.g = paramtb.A();
      this.h = paramtb.K();
    }
    
    public void a()
    {
      this.g = this.c.A();
      this.h = this.c.K();
      if (!ld.E) {
        if (this.f != null) {
          this.f.a(this.c);
        }
      }
      super.a();
    }
    
    public void a(double paramDouble)
    {
      this.e.c(paramDouble);
      this.c.a(new Color(this.g.getRed(), this.g.getGreen(), this.g.getBlue(), (int)(this.d.a() * 255.0D)));
    }
    
    public void b()
    {
      if (!ld.E) {
        if (this.f != null) {
          this.f.b(this.c);
        }
      }
      super.b();
    }
    
    void e()
    {
      this.c.a(new Color(this.g.getRed(), this.g.getGreen(), this.g.getBlue(), 0));
      this.c.b(true);
    }
    
    void f()
    {
      this.c.a(this.g);
      this.c.b(this.h);
    }
  }
  
  static class e_
    implements c
  {
    private static final double a = Math.log(2.0D);
    private final double b;
    private double c;
    private Point2D d;
    private final pb e;
    private final pg f;
    private final long g;
    private final oc h;
    private double i;
    private double j;
    private double k;
    private double l;
    private double m;
    private double n;
    private boolean o;
    
    public e_(pg parampg, double paramDouble, pb parampb, long paramLong, oc paramoc)
    {
      this.b = paramDouble;
      this.e = parampb;
      this.f = parampg;
      this.g = paramLong;
      this.h = paramoc;
      this.i = Math.log(paramDouble);
      this.j = (this.i / a);
    }
    
    public long c()
    {
      return this.g;
    }
    
    public void a()
    {
      this.c = this.f.M();
      this.d = this.f.J();
      this.k = Math.log(this.c);
      this.l = (this.k / a);
      this.m = c(0.0D);
      this.n = (c(1.0D) - this.m);
      if (!ld.E) {}
      this.o = (Math.abs(this.c - this.b) < 1.0E-008D);
    }
    
    public void a(double paramDouble)
    {
      boolean bool = ld.E;
      double d1 = 1.0D - paramDouble;
      this.f.b(Math.pow(2.0D, d1 * this.l + paramDouble * this.j));
      if (!bool) {
        if (this.o)
        {
          if (bool) {
            break label184;
          }
          this.f.a(d1 * this.d.getX() + paramDouble * this.e.a(), d1 * this.d.getY() + paramDouble * this.e.b());
          if (!ld.D) {
            break label183;
          }
        }
      }
      double d2 = (c(paramDouble) - this.m) / this.n;
      double d3 = 1.0D - d2;
      this.f.a(d3 * this.d.getX() + d2 * this.e.a(), d3 * this.d.getY() + d2 * this.e.b());
      label183:
      label184:
      if ((bool) || (this.h != null)) {
        this.h.c();
      }
    }
    
    public void b() {}
    
    private double c(double paramDouble)
    {
      return Math.pow(2.0D, (this.l - this.j) * paramDouble - this.l) / (this.k - this.i);
    }
  }
  
  static final class ab_
    extends vc.n_
  {
    private static final double c = Math.log(2.0D);
    private final pg d;
    private final double e;
    private final oc f;
    private final double g;
    private double h;
    private double i;
    
    public ab_(pg parampg, double paramDouble, vc.ob_ paramob_, long paramLong, oc paramoc)
    {
      super(paramLong);
      this.d = parampg;
      this.e = paramDouble;
      this.f = paramoc;
      this.g = (Math.log(paramDouble) / c);
      this.h = parampg.M();
    }
    
    public void a()
    {
      this.h = this.d.M();
      this.i = (Math.log(this.h) / c);
      super.a();
    }
    
    public void a(double paramDouble)
    {
      boolean bool = ld.E;
      if (!bool) {
        if (paramDouble < 1.0D)
        {
          if (bool) {
            break label70;
          }
          this.d.b(Math.pow(2.0D, (1.0D - paramDouble) * this.i + paramDouble * this.g));
        }
      }
      if ((ld.D) && (paramDouble == 1.0D)) {
        this.d.b(this.e);
      }
      label70:
      if ((bool) || (this.f != null)) {
        this.f.c();
      }
    }
    
    void f()
    {
      this.d.b(this.h);
    }
  }
  
  static final class q_
    extends vc.p_
  {
    private static final int l = 2;
    private final tb m;
    private final tb n;
    private final tb o;
    private final oc p;
    private final vc.wb_ q;
    private final boolean r;
    private final int s;
    private final int t;
    private final ld[] u;
    private final tb[] v;
    private g w;
    private int x;
    private boolean y;
    
    q_(tb paramtb1, tb paramtb2, tb paramtb3, boolean paramBoolean, vc.ob_ paramob_, long paramLong, oc paramoc)
    {
      super(!paramBoolean, new vc.lb_(null), vc.a, paramob_, paramLong);
      this.m = paramtb1;
      this.n = paramtb2.e();
      this.o = paramtb3.e();
      this.p = paramoc;
      this.q = new vc.wb_();
      this.r = paramBoolean;
      if (!bool2) {}
      this.s = (this.r ? 0 : 1);
      if (!bool2) {}
      this.t = (this.r ? 1 : 0);
      this.u = new ld[3];
      int i = 0;
      if (i < this.u.length) {
        this.u[i] = this.q.w(this.q.i());
      }
      do
      {
        this.u[i].b(1.0D, 1.0D);
        i++;
        if ((!bool2) && (bool1)) {
          return;
        }
        if (!bool1) {
          break;
        }
        ((vc.lb_)this.f).a(this.u[2]);
        this.v = new tb[2];
        this.v[this.s] = this.q.t(this.q.a(this.u[this.s].n(), this.u[2].n()));
      } while (bool2);
      this.v[this.t] = this.q.t(this.q.a(this.u[2].n(), this.u[this.t].n()));
    }
    
    protected GeneralPath d()
    {
      boolean bool = ld.E;
      if (!bool) {
        if (this.m.I() == ab.e)
        {
          if (bool) {
            break label109;
          }
          if (this.m.H() == ab.e) {
            break label108;
          }
        }
      }
      ab localab1 = this.m.I();
      ab localab2 = this.m.H();
      this.m.c(ab.e);
      this.m.b(ab.e);
      GeneralPath localGeneralPath = this.m.S();
      this.d = localGeneralPath;
      this.m.c(localab1);
      this.m.b(localab2);
      return localGeneralPath;
      label108:
      label109:
      return this.d = this.m.S();
    }
    
    public void a()
    {
      boolean bool2 = ld.E;
      boolean bool1 = ld.D;
      if (!bool2)
      {
        if (d().getCurrentPoint() == null) {
          return;
        }
        this.y = this.m.K();
      }
      if (!bool2) {
        if (this.y) {
          this.m.b(false);
        }
      }
      if (!bool2)
      {
        if (!this.r)
        {
          ab localab = this.n.I();
          this.n.c(this.n.H());
          this.n.b(localab);
          localab = this.o.I();
          this.o.c(this.o.H());
          this.o.b(localab);
        }
        a(this.n, this.v[this.s]);
        a(this.o, this.v[this.t]);
        super.a();
        this.u[this.s].c(this.i[0].a(), this.i[0].b());
        this.u[this.t].c(this.i[(this.i.length - 1)].a(), this.i[(this.i.length - 1)].b());
        this.u[2].c(this.u[this.s].A(), this.u[this.s].B());
      }
      int i = 1;
      int j = this.i.length - 1;
      if (i < j) {}
      for (;;)
      {
        if (!bool2)
        {
          this.v[this.t].c(this.i[i].a(), this.i[i].b());
          i++;
          if (!bool1)
          {
            if (!bool1) {
              break;
            }
            this.x = 0;
            this.w = this.m.j();
            if (bool2) {
              continue;
            }
            this.w.a(this.q);
          }
        }
      }
      if ((bool2) || (this.p != null)) {
        this.p.a(this.q);
      }
    }
    
    public void a(double paramDouble)
    {
      boolean bool2 = ld.E;
      boolean bool1 = ld.D;
      if (!bool2) {
        if (this.i == null) {
          return;
        }
      }
      super.a(paramDouble);
      eb localeb;
      if (!bool2) {
        if (paramDouble < 1.0D) {
          do
          {
            if (this.x >= this.c) {
              break;
            }
            localeb = this.v[this.t].a(this.v[this.t].b(0));
            this.v[this.s].a(localeb, this.v[this.s].q(), 0);
            this.x += 1;
          } while (!bool1);
        }
      }
      do
      {
        if (this.v[this.t].n() <= 0) {
          break;
        }
        localeb = this.v[this.t].a(this.v[this.t].b(0));
        this.v[this.s].a(localeb, this.v[this.s].q(), 0);
      } while (!bool1);
    }
    
    public void b()
    {
      boolean bool2 = ld.E;
      boolean bool1 = ld.D;
      if (!bool2)
      {
        if (this.i == null)
        {
          super.b();
          return;
        }
        this.m.b(this.y);
      }
      if (!bool2)
      {
        if (this.p != null) {
          this.p.b(this.q);
        }
        this.w.b(this.q);
      }
      this.w = null;
      int i = 0;
      if (i < this.v.length) {}
      while (bool2)
      {
        this.v[i].s();
        i++;
        if ((!bool2) && (bool1)) {
          return;
        }
        if (!bool1) {
          break;
        }
      }
      super.b();
    }
    
    private static void a(tb paramtb1, tb paramtb2)
    {
      paramtb2.a(paramtb1.A());
      paramtb2.a(paramtb1.D());
      paramtb2.c(paramtb1.I());
      paramtb2.b(paramtb1.H());
      paramtb2.b(paramtb1.K());
      paramtb2.c(paramtb1.P());
    }
  }
  
  static class p_
    extends vc.n_
  {
    int c;
    GeneralPath d;
    final boolean e;
    final a.i.qb f;
    final a.i.qb g;
    final double[] h;
    pb[] i;
    pb[] j;
    double[] k;
    
    p_(GeneralPath paramGeneralPath, boolean paramBoolean, a.i.qb paramqb1, a.i.qb paramqb2, vc.ob_ paramob_, long paramLong)
    {
      super(paramLong);
      this.d = paramGeneralPath;
      this.e = paramBoolean;
      this.f = paramqb1;
      this.g = paramqb2;
      this.h = new double[6];
    }
    
    public void a()
    {
      boolean bool2 = ld.E;
      boolean bool1 = ld.D;
      GeneralPath localGeneralPath = d();
      if (!bool2)
      {
        if ((localGeneralPath == null) || (localGeneralPath.getCurrentPoint() == null)) {
          this.i = null;
        }
      }
      else {
        return;
      }
      this.c = 0;
      double d1 = 0.0D;
      double d2 = 0.0D;
      Object localObject1 = null;
      Object localObject2 = null;
      ArrayList localArrayList = new ArrayList();
      PathIterator localPathIterator = localGeneralPath.getPathIterator(null, 0.5D);
      label207:
      label208:
      do
      {
        if (localPathIterator.isDone()) {
          break;
        }
        int m = localPathIterator.currentSegment(this.h);
        if (bool2) {
          break label366;
        }
        if (bool1) {
          break label365;
        }
        if (!localArrayList.isEmpty()) {
          d1 += a(this.h[0] - ((pb)localObject1).a(), this.h[1] - ((pb)localObject1).b());
        }
        if (!bool2)
        {
          if (!this.e) {
            localArrayList.add(localObject1 = s.a(this.h));
          }
        }
        else
        {
          if (bool2) {
            break label208;
          }
          if (!bool1) {
            break label207;
          }
        }
        localArrayList.add(0, localObject1 = s.a(this.h));
        if (!bool2)
        {
          if (0 == m)
          {
            localObject2 = localObject1;
            if (bool2) {
              continue;
            }
            if (!bool1) {}
          }
          else
          {
            if (bool2) {
              continue;
            }
          }
        }
        else if (4 == m)
        {
          d1 += d(localObject2, (pb)localObject1);
          if (!bool2)
          {
            if (!this.e)
            {
              if (bool2) {
                break label287;
              }
              localArrayList.add(localObject2);
            }
          }
          else {
            if (!bool1) {
              break label295;
            }
          }
          localArrayList.add(0, localObject2);
          localObject1 = localObject2;
        }
        localPathIterator.next();
      } while (!bool1);
      label287:
      label295:
      this.k = new double[localArrayList.size()];
      this.k[0] = 0.0D;
      this.i = ((pb[])localArrayList.toArray(new pb[localArrayList.size()]));
      if (!bool2) {
        label365:
        if (this.i.length > 1)
        {
          label366:
          this.j = new pb[this.i.length - 1];
          if (bool2) {
            break label413;
          }
          if (!bool1) {}
        }
        else
        {
          this.j = new pb[1];
        }
      } else {
        this.j[0] = s.a(0.0D, 0.0D);
      }
      label413:
      int n = 1;
      if (n < this.i.length) {}
      label535:
      do
      {
        fb localfb = c(this.i[n], this.i[(n - 1)]);
        double d3 = a(localfb);
        d2 += d3;
        this.k[n] = (d2 / d1);
        if (bool1) {
          break label619;
        }
        if (0.0D > this.k[n])
        {
          this.k[n] = 0.0D;
          if (bool2) {
            break label535;
          }
          if (!bool1) {}
        }
        else
        {
          if (bool2) {
            break label535;
          }
          if (1.0D < this.k[n]) {
            this.k[n] = 1.0D;
          }
        }
        if (!bool2)
        {
          if (0.0D < d3)
          {
            localfb.a(localfb.a() / d3);
            localfb.b(localfb.b() / d3);
          }
          this.j[(n - 1)] = localfb;
          n++;
        }
        if (!bool1) {
          break;
        }
        this.k[(this.k.length - 1)] = 1.0D;
      } while (bool2);
      if (this.i.length > 0)
      {
        label619:
        this.f.a(this.i[0].a());
        this.f.b(this.i[0].b());
        if (!bool2)
        {
          if (this.i.length == 1)
          {
            this.g.a(0.0D);
            this.g.b(0.0D);
            if (bool2) {
              return;
            }
            if (!bool1) {}
          }
          else
          {
            this.g.a(this.i[1].a() - this.i[0].a());
          }
        }
        else {
          this.g.b(this.i[1].b() - this.i[0].b());
        }
      }
      super.a();
    }
    
    protected GeneralPath d()
    {
      return this.d;
    }
    
    public void b()
    {
      this.i = null;
      super.b();
    }
    
    public void a(double paramDouble)
    {
      boolean bool2 = ld.E;
      boolean bool1 = ld.D;
      if (!bool2) {
        if (this.i == null) {
          return;
        }
      }
      if (!bool2) {
        if (this.i.length == 1)
        {
          this.f.a(this.i[0].a());
          this.f.b(this.i[0].b());
          this.g.a(0.0D);
          this.g.b(0.0D);
          if ((!bool2) && (!bool1)) {
            return;
          }
        }
      }
      if (!bool2) {
        if (0.0D < paramDouble)
        {
          if (bool2) {
            break label721;
          }
          if (1.0D > paramDouble)
          {
            double d1;
            do
            {
              do
              {
                if (paramDouble <= this.k[(this.c + 1)]) {
                  break;
                }
                this.c += 1;
                if ((!bool2) && (bool1)) {
                  return;
                }
              } while (!bool1);
              d1 = (paramDouble - this.k[this.c]) / (this.k[(this.c + 1)] - this.k[this.c]);
            } while (bool2);
            if (!bool2)
            {
              if (0.0D > d1)
              {
                if (bool2) {
                  break label248;
                }
                d1 = 0.0D;
                if (!bool1) {}
              }
              else
              {
                if (bool2) {
                  break label247;
                }
              }
            }
            else if (d1 > 1.0D) {
              d1 = 1.0D;
            }
            label247:
            label248:
            double d2 = 1.0D - d1;
            this.f.a(d2 * this.i[this.c].a() + d1 * this.i[(this.c + 1)].a());
            this.f.b(d2 * this.i[this.c].b() + d1 * this.i[(this.c + 1)].b());
            if (!bool2) {
              if (0.0D < d1)
              {
                if (bool2) {
                  break label421;
                }
                if (1.0D > d1)
                {
                  this.g.a(this.j[this.c].a());
                  this.g.b(this.j[this.c].b());
                  if ((!bool2) && (!bool1)) {
                    return;
                  }
                }
              }
            }
            label421:
            fb localfb;
            if (!bool2) {
              if (0.0D == d1)
              {
                if (!bool2) {
                  if (0 < this.c)
                  {
                    localfb = a(this.j[this.c], this.j[(this.c - 1)]);
                    this.g.a(localfb.a());
                    this.g.b(localfb.b());
                    if (!bool2) {
                      if (!bool1) {
                        return;
                      }
                    }
                  }
                  else
                  {
                    this.g.a(this.j[0].a());
                    this.g.b(this.j[0].b());
                  }
                }
                if ((!bool2) && (!bool1)) {
                  return;
                }
              }
            }
            if ((!bool2) && (1.0D != d1)) {
              return;
            }
            if (!bool2) {
              if (this.j.length > this.c + 1)
              {
                localfb = a(this.j[(this.c + 1)], this.j[this.c]);
                this.g.a(localfb.a());
                this.g.b(localfb.b());
                if (!bool2) {
                  if (!bool1) {
                    return;
                  }
                }
              }
              else
              {
                this.g.a(this.j[(this.j.length - 1)].a());
                this.g.b(this.j[(this.j.length - 1)].b());
              }
            }
            if ((!bool2) && (!bool1)) {
              return;
            }
          }
        }
      }
      label721:
      if (!bool2) {
        if (0.0D >= paramDouble)
        {
          this.f.a(this.i[0].a());
          this.f.b(this.i[0].b());
          this.g.a(this.j[0].a());
          this.g.b(this.j[0].b());
        }
      }
      if ((bool2) || ((bool1) && (1.0D <= paramDouble)))
      {
        this.f.a(this.i[(this.i.length - 1)].a());
        this.f.b(this.i[(this.i.length - 1)].b());
        this.g.a(this.j[(this.j.length - 1)].a());
        this.g.b(this.j[(this.j.length - 1)].b());
      }
    }
    
    private static fb a(pb parampb1, pb parampb2)
    {
      return s.a((parampb1.a() + parampb2.a()) * 0.5D, (parampb1.b() + parampb2.b()) * 0.5D);
    }
    
    private static fb c(pb parampb1, pb parampb2)
    {
      return s.a(parampb1.a() - parampb2.a(), parampb1.b() - parampb2.b());
    }
    
    private static double a(pb parampb)
    {
      return a(parampb.a(), parampb.b());
    }
    
    private static double a(double paramDouble1, double paramDouble2)
    {
      return Math.sqrt(paramDouble1 * paramDouble1 + paramDouble2 * paramDouble2);
    }
    
    private static double d(pb parampb1, pb parampb2)
    {
      return a(parampb1.a() - parampb2.a(), parampb1.b() - parampb2.b());
    }
  }
  
  static final class db_
    extends vc.n_
  {
    private final ac c;
    private final g d;
    private final boolean e;
    private final oc f;
    private final pg g;
    private a_ h;
    
    public db_(ac paramac, g paramg, boolean paramBoolean, vc.ob_ paramob_, long paramLong, oc paramoc, pg parampg)
    {
      super(paramLong);
      this.c = paramac;
      this.d = paramg;
      this.e = paramBoolean;
      this.f = paramoc;
      this.g = parampg;
    }
    
    public void a()
    {
      Rectangle localRectangle = new Rectangle(this.c.getBounds());
      localRectangle.grow(10, 10);
      vc.mb_ localmb_ = vc.b(this.c, localRectangle, this.g);
      int i = Math.min(16, Math.max((int)Math.rint(localRectangle.getWidth() / 4.0D), (int)Math.rint(localRectangle.getHeight() / 4.0D)));
      this.h = a_.a(localmb_, localRectangle, i, this.e);
      this.d.a(this.h);
      if (!ld.E) {
        if (this.f != null) {
          this.f.a(this.h);
        }
      }
      super.a();
    }
    
    public void a(double paramDouble)
    {
      this.h.a(paramDouble);
    }
    
    public void b()
    {
      if (!ld.E)
      {
        if (this.f != null) {
          this.f.b(this.h);
        }
        this.d.b(this.h);
        this.h = null;
      }
      super.b();
    }
    
    static final class a_
      implements qb
    {
      private static final int a = 0;
      private static final int b = 1;
      private static final int c = 2;
      private static final int d = 3;
      private static final int e = 4;
      private static final Random f = new Random();
      private final Rectangle g;
      private final BufferedImage[] h;
      private final double[][] i;
      private final boolean j;
      private double k;
      
      a_(Rectangle paramRectangle, BufferedImage[] paramArrayOfBufferedImage, double[][] paramArrayOfDouble, boolean paramBoolean)
      {
        this.g = paramRectangle;
        this.h = paramArrayOfBufferedImage;
        this.i = paramArrayOfDouble;
        this.j = paramBoolean;
        this.k = 0.0D;
      }
      
      public double a()
      {
        return this.k;
      }
      
      public void a(double paramDouble)
      {
        this.k = paramDouble;
      }
      
      public void paint(Graphics2D paramGraphics2D)
      {
        boolean bool2 = ld.E;
        boolean bool1 = ld.D;
        double d1 = this.g.getCenterX();
        double d2 = this.g.getCenterY();
        if (!bool2) {}
        double d3 = this.j ? 1.0D - this.k : this.k;
        d3 *= 55.0D;
        int m = 0;
        label370:
        do
        {
          if (m >= this.h.length) {
            break;
          }
          int n = (int)(d1 + (d3 * this.i[m][2] + this.i[m][0]));
          int i1 = (int)(d2 + (d3 * this.i[m][3] + this.i[m][1]));
          AffineTransform localAffineTransform = paramGraphics2D.getTransform();
          paramGraphics2D.rotate(0.035D * d3, n + this.h[m].getWidth() * 0.5D, i1 + this.h[m].getHeight() * 0.5D);
          Composite localComposite = paramGraphics2D.getComposite();
          float f1;
          if (!bool2) {
            if (!this.j)
            {
              if (bool2) {
                continue;
              }
              if (this.k < this.i[m][4]) {
                break label370;
              }
              f1 = (bool2) || (1.0D <= this.i[m][4]) ? (float)((1.0D - this.k) / (1.0D - this.i[m][4])) : 0.0F;
              paramGraphics2D.setComposite(AlphaComposite.getInstance(3, f1));
              if (bool2) {
                continue;
              }
              if (!bool1) {
                break label370;
              }
            }
          }
          if (!bool2)
          {
            if (this.k <= this.i[m][4])
            {
              f1 = (bool2) || (0.0D >= this.i[m][4]) ? (float)((this.i[m][4] - this.k) / this.i[m][4]) : 1.0F;
              paramGraphics2D.setComposite(AlphaComposite.getInstance(3, f1));
            }
            paramGraphics2D.drawImage(this.h[m], n, i1, null);
            paramGraphics2D.setComposite(localComposite);
            paramGraphics2D.setTransform(localAffineTransform);
            m++;
          }
        } while (!bool1);
      }
      
      public Rectangle getBounds()
      {
        boolean bool2 = ld.E;
        boolean bool1 = ld.D;
        Rectangle localRectangle = new Rectangle();
        double d1 = this.g.getCenterX();
        double d2 = this.g.getCenterY();
        if (!bool2) {}
        double d3 = this.j ? 1.0D - this.k : this.k;
        d3 *= 55.0D;
        int m = 0;
        do
        {
          if (m >= this.h.length) {
            break;
          }
          int n = (int)(d1 + (d3 * this.i[m][2] + this.i[m][0])) + 10;
          int i1 = (int)(d2 + (d3 * this.i[m][3] + this.i[m][1])) + 10;
          if (!bool2) {
            if (n < localRectangle.x) {
              localRectangle.x = n;
            }
          }
          if (!bool2) {
            if (i1 < localRectangle.y) {
              localRectangle.y = i1;
            }
          }
          int i2 = n + this.h[m].getWidth();
          if (!bool2)
          {
            if (i2 > localRectangle.x + localRectangle.width) {
              localRectangle.width += i2 - localRectangle.x - localRectangle.width;
            }
            i2 = i1 + this.h[m].getHeight();
            if (bool2) {}
          }
          else
          {
            if (i2 > localRectangle.y + localRectangle.height) {
              localRectangle.height += i2 - localRectangle.y - localRectangle.height;
            }
            m++;
          }
        } while (!bool1);
        return localRectangle;
      }
      
      static a_ a(vc.mb_ parammb_, Rectangle paramRectangle, int paramInt, boolean paramBoolean)
      {
        boolean bool2 = ld.E;
        boolean bool1 = ld.D;
        int m = parammb_.a();
        int n = parammb_.b();
        int i1 = paramInt;
        if (0 != m / i1)
        {
          if (bool2) {
            break label61;
          }
          if ((!bool1) && (0 != n / i1)) {
            break label64;
          }
        }
        label61:
        label64:
        int i2;
        int i3;
        double d1;
        double d2;
        BufferedImage[] arrayOfBufferedImage;
        double[][] arrayOfDouble;
        BufferedImage localBufferedImage;
        int i4;
        do
        {
          i1 /= 2;
          if (!bool1) {
            break;
          }
          i2 = m % i1;
          m /= i1;
          i3 = n % i1;
          n /= i1;
          d1 = paramRectangle.getWidth() * 0.5D;
          d2 = paramRectangle.getHeight() * 0.5D;
          arrayOfBufferedImage = new BufferedImage[i1 * i1];
          arrayOfDouble = new double[arrayOfBufferedImage.length][5];
          localBufferedImage = parammb_.b;
          i4 = 0;
        } while (bool2);
        int i5 = 0;
        if (i5 < i1) {}
        label383:
        while (bool2)
        {
          int i6 = (bool2) || (i5 < i3) ? n + 1 : n;
          int i7 = 0;
          int i8 = 0;
          do
          {
            do
            {
              if (i8 >= i1) {
                break;
              }
              if (bool2) {
                break label434;
              }
              if (bool1) {
                break label426;
              }
              int i9 = i8 < i2 ? m + 1 : m;
              int i10 = i5 * i1 + i8;
              arrayOfBufferedImage[i10] = localBufferedImage.getSubimage(i7, i4, i9, i6);
              arrayOfDouble[i10][0] = (i7 - d1);
              arrayOfDouble[i10][1] = (i4 - d2);
              int i11 = 0;
              if (i11 < 2) {
                arrayOfDouble[i10][(i11 + 2)] = (f.nextDouble() * arrayOfDouble[i10][i11]);
              }
              do
              {
                if (bool1) {
                  break label383;
                }
                if (0.0D == arrayOfDouble[i10][i11]) {
                  arrayOfDouble[i10][(i11 + 2)] = (f.nextBoolean() ? 1.0D : -1.0D);
                }
                i11++;
                if (!bool1) {
                  break;
                }
                arrayOfDouble[i10][4] = (f.nextDouble() * 0.5D);
              } while (bool2);
              if (!paramBoolean) {
                arrayOfDouble[i10][4] = (1.0D - arrayOfDouble[i10][4]);
              }
              i7 += i9;
              i8++;
            } while (!bool1);
          } while (bool2);
          i4 += i6;
          i5++;
          if (!bool1) {
            break;
          }
        }
        label426:
        label434:
        return new a_(paramRectangle, arrayOfBufferedImage, arrayOfDouble, paramBoolean);
      }
      
      static double a(double paramDouble1, double paramDouble2)
      {
        return Math.sqrt(paramDouble1 * paramDouble1 + paramDouble2 * paramDouble2);
      }
    }
  }
  
  static final class y_
    extends vc.x_
  {
    public y_(ld paramld, pb parampb, vc.ob_ paramob_, long paramLong, oc paramoc)
    {
      super(parampb, paramob_, paramLong, paramoc);
    }
    
    public void a(double paramDouble)
    {
      double d = 1.0D - paramDouble;
      this.c.b(d * this.e + paramDouble * this.d.a(), d * this.f + paramDouble * this.d.b());
    }
  }
  
  static final class z_
    extends vc.x_
  {
    public z_(ld paramld, pb parampb, vc.ob_ paramob_, long paramLong, oc paramoc)
    {
      super(parampb, paramob_, paramLong, paramoc);
    }
    
    public void a(double paramDouble)
    {
      double d = 1.0D - paramDouble;
      this.c.b(d * this.e + paramDouble * (this.d.a() * this.e), d * this.f + paramDouble * (this.d.b() * this.f));
    }
  }
  
  private static abstract class x_
    extends vc.n_
  {
    final ld c;
    final pb d;
    double e;
    double f;
    private final oc g;
    
    x_(ld paramld, pb parampb, vc.ob_ paramob_, long paramLong, oc paramoc)
    {
      super(paramLong);
      this.c = paramld;
      this.d = parampb;
      this.g = paramoc;
      this.e = paramld.c();
      this.f = paramld.d();
    }
    
    public void a()
    {
      super.a();
      this.e = this.c.c();
      this.f = this.c.d();
      if ((ld.E) || (this.g != null))
      {
        this.g.a(this.c);
        vc.a(this.c, this.g);
      }
    }
    
    public void b()
    {
      if (!ld.E) {
        if (this.g != null)
        {
          vc.b(this.c, this.g);
          this.g.b(this.c);
        }
      }
      super.b();
    }
    
    void f()
    {
      this.c.b(this.e, this.f);
    }
  }
  
  static final class o_
    extends vc.n_
  {
    private final ld c;
    private final pb d;
    private final oc e;
    private double f;
    private double g;
    
    o_(ld paramld, pb parampb, vc.ob_ paramob_, long paramLong, oc paramoc)
    {
      super(paramLong);
      this.c = paramld;
      this.d = parampb;
      this.e = paramoc;
    }
    
    public void a()
    {
      this.f = this.c.A();
      this.g = this.c.B();
      if (!ld.E) {
        if (this.e != null)
        {
          this.e.a(this.c);
          vc.a(this.c, this.e);
        }
      }
      super.a();
    }
    
    public void a(double paramDouble)
    {
      double d1 = 1.0D - paramDouble;
      this.c.c(d1 * this.f + paramDouble * this.d.a(), d1 * this.g + paramDouble * this.d.b());
    }
    
    public void b()
    {
      if (!ld.E) {
        if (this.e != null)
        {
          vc.b(this.c, this.e);
          this.e.b(this.c);
        }
      }
      super.b();
    }
    
    void f()
    {
      this.c.c(this.f, this.g);
    }
  }
  
  private static final class jb_
  {
    static final int a = 0;
    static final int b = 1;
    static final int c = 2;
    static final int d = 3;
    final int[] e;
    final int[] f;
    
    public jb_(Color paramColor1, Color paramColor2)
    {
      this.e = new int[] { paramColor1.getRed(), paramColor1.getGreen(), paramColor1.getBlue(), paramColor1.getAlpha() };
      this.f = new int[] { paramColor2.getRed(), paramColor2.getGreen(), paramColor2.getBlue(), paramColor2.getAlpha() };
    }
    
    public Color a(double paramDouble)
    {
      double d1 = 1.0D - paramDouble;
      return new Color((int)(d1 * this.e[0] + paramDouble * this.f[0]), (int)(d1 * this.e[1] + paramDouble * this.f[1]), (int)(d1 * this.e[2] + paramDouble * this.f[2]), (int)(d1 * this.e[3] + paramDouble * this.f[3]));
    }
    
    static jb_ a(Color paramColor1, Color paramColor2)
    {
      boolean bool = ld.E;
      Color localColor;
      if (!bool)
      {
        if (null != paramColor1)
        {
          if (null != paramColor2) {
            return new jb_(paramColor1, paramColor2);
          }
          localColor = a(paramColor1);
          return new jb_(paramColor1, localColor);
        }
        if (bool) {}
      }
      else if (null != paramColor2)
      {
        localColor = a(paramColor2);
        return new jb_(localColor, paramColor2);
      }
      return null;
    }
    
    private static Color a(Color paramColor)
    {
      return new Color(paramColor.getRed(), paramColor.getGreen(), paramColor.getBlue(), 0);
    }
  }
  
  static final class w_
    extends vc.n_
  {
    private final ld c;
    private final ld d;
    private final ld e;
    private final boolean f;
    private vc.jb_[] g;
    private final oc h;
    
    public w_(ld paramld1, ld paramld2, boolean paramBoolean, vc.ob_ paramob_, long paramLong, oc paramoc)
    {
      super(paramLong);
      this.h = paramoc;
      this.c = paramld1.m();
      this.d = paramld2;
      this.e = paramld1;
      this.f = paramBoolean;
      this.g = null;
    }
    
    public void a()
    {
      boolean bool = ld.E;
      Color localColor1 = this.c.o();
      Color localColor2 = this.c.p();
      Color localColor3 = this.d.o();
      Color localColor4 = this.d.p();
      Color localColor5 = localColor1 == null ? null : localColor2;
      Color localColor6 = localColor3 == null ? null : localColor4;
      if ((bool) || ((localColor5 != null) || ((bool) || (localColor6 != null))))
      {
        if (!bool) {
          if (localColor5 == null) {
            localColor5 = localColor1;
          }
        }
        if ((bool) || (localColor6 == null)) {
          localColor6 = localColor3;
        }
      }
      this.g = new vc.jb_[] { vc.jb_.a(localColor1, localColor3), vc.jb_.a(localColor5, localColor6), vc.jb_.a(this.c.q(), this.d.q()) };
      if (!bool) {
        if (this.h != null)
        {
          this.h.a(this.e);
          if (bool) {
            break label200;
          }
          if (this.f) {
            vc.a(this.e, this.h);
          }
        }
      }
      label200:
      super.a();
    }
    
    public void a(double paramDouble)
    {
      boolean bool = ld.E;
      if (!bool)
      {
        if (this.f)
        {
          this.e.a((1.0D - paramDouble) * this.c.A() + paramDouble * this.d.A());
          this.e.b((1.0D - paramDouble) * this.c.B() + paramDouble * this.d.B());
          this.e.e((1.0D - paramDouble) * this.c.c() + paramDouble * this.d.c());
        }
      }
      else {
        this.e.f((1.0D - paramDouble) * this.c.d() + paramDouble * this.d.d());
      }
      if (!bool) {
        if (null != this.g[0]) {
          this.e.a(this.g[0].a(paramDouble));
        }
      }
      if (!bool) {
        if (null != this.g[1]) {
          this.e.b(this.g[1].a(paramDouble));
        }
      }
      if (null != this.g[2]) {
        this.e.c(this.g[2].a(paramDouble));
      }
    }
    
    public void b()
    {
      boolean bool = ld.E;
      if (!bool)
      {
        if (this.h != null)
        {
          if (!bool) {
            if (this.f) {
              vc.b(this.e, this.h);
            }
          }
          this.h.b(this.e);
        }
        this.g = null;
        this.e.a(this.d.o());
        this.e.b(this.d.p());
        this.e.c(this.d.q());
      }
      super.b();
    }
    
    void f()
    {
      if (!ld.E)
      {
        if (this.f)
        {
          this.e.a(this.c.A());
          this.e.b(this.c.B());
          this.e.e(this.c.c());
          this.e.f(this.c.d());
        }
        this.e.a(this.c.o());
        this.e.b(this.c.p());
      }
      this.e.c(this.c.q());
    }
  }
  
  static final class v_
    extends vc.n_
  {
    private final tb c;
    private final Color d;
    private Color e;
    private vc.jb_ f;
    private final oc g;
    
    v_(tb paramtb, Color paramColor, vc.ob_ paramob_, long paramLong, oc paramoc)
    {
      super(paramLong);
      this.c = paramtb;
      this.d = paramColor;
      this.g = paramoc;
    }
    
    public void a()
    {
      this.e = this.c.A();
      this.f = vc.jb_.a(this.e, this.d);
      if (!ld.E) {
        if (this.g != null) {
          this.g.a(this.c);
        }
      }
      super.a();
    }
    
    public void a(double paramDouble)
    {
      if ((ld.E) || (this.f != null)) {
        this.c.a(this.f.a(paramDouble));
      }
    }
    
    public void b()
    {
      if (!ld.E)
      {
        if (this.g != null) {
          this.g.b(this.c);
        }
        this.f = null;
        this.c.a(this.d);
      }
      super.b();
    }
    
    void f()
    {
      this.c.a(this.e);
    }
  }
  
  static final class t_
    extends vc.r_
  {
    private final boolean n;
    private BufferedImage o;
    
    t_(ac paramac, g paramg, ob paramob, rb paramrb, boolean paramBoolean, vc.ob_ paramob_, long paramLong, oc paramoc, pg parampg)
    {
      super(paramg, paramob, vc.qb_.a, vc.eb_.a, vc.eb_.b, paramrb, paramob_, paramLong, paramoc, parampg);
      this.n = paramBoolean;
    }
    
    public void a()
    {
      Rectangle localRectangle = new Rectangle(this.c.getBounds());
      localRectangle.grow(20, 20);
      this.o = vc.a(this.c, localRectangle, this.m);
      vc.mb_ localmb_ = vc.a(this.c, localRectangle);
      this.k = new vc.rb_(localmb_);
      a(this.k);
      this.d.a(this.k);
      if (!ld.E) {
        if (this.j != null) {
          this.j.a(this.k);
        }
      }
      super.a();
    }
    
    public void a(double paramDouble)
    {
      super.a(paramDouble);
      int i = (int)Math.rint(paramDouble * (vc.ub_.a.length - 1));
      if (!ld.E)
      {
        if (this.n) {
          i = vc.ub_.a.length - 1 - i;
        }
        vc.a(vc.ub_.a[i][1], vc.a(vc.ub_.a[i][0], this.o, null), ((vc.mb_)vc.rb_.access$500(this.k)).b);
      }
    }
    
    public void b()
    {
      super.b();
      this.o = null;
    }
  }
  
  static class u_
    extends vc.r_
  {
    u_(ac paramac, g paramg, vc.j_ paramj_, vc.ob_ paramob_, long paramLong, oc paramoc, pg parampg)
    {
      this(paramac, paramg, vc.j_.access$100(paramj_), vc.j_.access$200(paramj_), vc.j_.access$300(paramj_), vc.j_.access$400(paramj_), paramj_, paramob_, paramLong, paramoc, parampg);
    }
    
    u_(ac paramac, g paramg, ob paramob1, ob paramob2, pb parampb1, pb parampb2, rb paramrb, vc.ob_ paramob_, long paramLong, oc paramoc, pg parampg)
    {
      super(paramg, paramob1, paramob2, parampb1, parampb2, paramrb, paramob_, paramLong, paramoc, parampg);
    }
    
    public void a()
    {
      Rectangle localRectangle = new Rectangle(this.c.getBounds());
      localRectangle.grow(10, 10);
      vc.mb_ localmb_ = vc.b(this.c, localRectangle, this.m);
      this.k = new vc.rb_(localmb_);
      a(this.k);
      this.d.a(this.k);
      if (!ld.E) {
        if (this.j != null) {
          this.j.a(this.k);
        }
      }
      super.a();
    }
  }
  
  static class s_
    extends vc.r_
  {
    s_(ac paramac, g paramg, vc.j_ paramj_, vc.ob_ paramob_, long paramLong, oc paramoc, pg parampg)
    {
      this(paramac, paramg, vc.j_.access$100(paramj_), vc.j_.access$200(paramj_), vc.j_.access$300(paramj_), vc.j_.access$400(paramj_), paramj_, paramob_, paramLong, paramoc, parampg);
    }
    
    s_(ac paramac, g paramg, ob paramob1, ob paramob2, pb parampb1, pb parampb2, rb paramrb, vc.ob_ paramob_, long paramLong, oc paramoc, pg parampg)
    {
      super(paramg, paramob1, paramob2, parampb1, parampb2, paramrb, paramob_, paramLong, paramoc, parampg);
    }
    
    public void a()
    {
      this.k = new vc.rb_(this.c);
      a(this.k);
      this.d.a(this.k);
      if (!ld.E) {
        if (this.j != null) {
          this.j.a(this.k);
        }
      }
      super.a();
    }
  }
  
  private static abstract class r_
    extends vc.n_
  {
    final ac c;
    final g d;
    final ob e;
    final ob f;
    final pb g;
    final pb h;
    final rb i;
    final oc j;
    vc.rb_ k;
    boolean l;
    pg m;
    
    r_(ac paramac, g paramg, ob paramob1, ob paramob2, pb parampb1, pb parampb2, rb paramrb, vc.ob_ paramob_, long paramLong, oc paramoc, pg parampg)
    {
      super(paramLong);
      this.c = paramac;
      this.d = paramg;
      this.e = paramob1;
      this.f = paramob2;
      this.g = parampb1;
      this.h = new vc.1(this, parampb2);
      this.i = paramrb;
      this.j = paramoc;
      this.l = true;
      this.m = parampg;
    }
    
    public void a(double paramDouble)
    {
      this.i.c(paramDouble);
      a(this.k);
    }
    
    public void b()
    {
      if (!ld.E)
      {
        if (this.j != null) {
          this.j.b(this.k);
        }
        this.d.b(this.k);
        this.k = null;
      }
      super.b();
    }
    
    void a(vc.rb_ paramrb_)
    {
      paramrb_.h[0] = this.e.a();
      paramrb_.h[1] = this.f.a();
      paramrb_.h[2] = this.g.a();
      paramrb_.h[3] = this.g.b();
      paramrb_.h[4] = this.h.a();
      paramrb_.h[5] = this.h.b();
    }
  }
  
  static final class gb_
    implements c
  {
    private final ld a;
    private final long b;
    private final oc c;
    private Color d;
    private double e;
    private double f;
    private int g;
    private int h;
    private int i;
    
    gb_(ld paramld, long paramLong, oc paramoc)
    {
      this.a = paramld;
      this.b = paramLong;
      this.c = paramoc;
    }
    
    public void a()
    {
      boolean bool2 = ld.E;
      boolean bool1 = ld.D;
      this.e = this.a.c();
      this.f = this.a.d();
      this.d = this.a.o();
      int j = this.d.getRed();
      int k = this.d.getGreen();
      int m = this.d.getBlue();
      if (!bool2)
      {
        if (j > 128) {
          this.i = -100;
        }
      }
      else
      {
        if (bool2) {
          break label102;
        }
        if (!bool1) {
          break label101;
        }
      }
      this.i = 100;
      label101:
      label102:
      if (!bool2)
      {
        if (k > 128) {
          this.h = -100;
        }
      }
      else
      {
        if (bool2) {
          break label136;
        }
        if (!bool1) {
          break label135;
        }
      }
      this.h = 100;
      label135:
      label136:
      if (!bool2)
      {
        if (m > 128)
        {
          if (bool2) {
            break label170;
          }
          this.g = -100;
        }
      }
      else {
        if (!bool1) {
          break label169;
        }
      }
      this.g = 100;
      label169:
      label170:
      if ((bool2) || (this.c != null)) {
        this.c.a(this.a);
      }
    }
    
    public void a(double paramDouble)
    {
      if ((ld.E) || (0.5D <= paramDouble)) {
        paramDouble = 1.0D - paramDouble;
      }
      Color localColor = new Color(a(this.d.getRed() + (int)(paramDouble * this.i)), a(this.d.getGreen() + (int)(paramDouble * this.h)), a(this.d.getBlue() + (int)(paramDouble * this.g)));
      this.a.a(localColor);
      this.a.b(this.e + paramDouble * 10.0D, this.f + paramDouble * 10.0D);
    }
    
    public void b()
    {
      if (!ld.E)
      {
        if (this.c != null) {
          this.c.b(this.a);
        }
        this.a.a(this.d);
      }
      this.a.b(this.e, this.f);
    }
    
    public long c()
    {
      return this.b;
    }
    
    private int a(int paramInt)
    {
      boolean bool = ld.E;
      if (!bool) {
        if (paramInt < 0) {
          return 0;
        }
      }
      if (!bool) {
        if (paramInt > 255) {
          return 255;
        }
      }
      return paramInt;
    }
  }
  
  private static abstract class n_
    implements c
  {
    vc.ob_ a;
    long b;
    
    n_(vc.ob_ paramob_, long paramLong)
    {
      this.a = paramob_;
      this.b = paramLong;
    }
    
    public long c()
    {
      return this.b;
    }
    
    public void a()
    {
      boolean bool = ld.E;
      if (!bool) {
        if (this.a != null)
        {
          if (bool) {
            break label35;
          }
          this.a.c();
          if (!ld.D) {
            return;
          }
        }
      }
      label35:
      e();
    }
    
    public void b()
    {
      boolean bool = ld.E;
      if (!bool) {
        if (this.a != null)
        {
          if (bool) {
            break label35;
          }
          this.a.d();
          if (!ld.D) {
            return;
          }
        }
      }
      label35:
      f();
    }
    
    void e() {}
    
    void f() {}
  }
  
  static final class tb_
    implements vc.ob_
  {
    private final tb a;
    private final tb b;
    
    public tb_(tb paramtb1, tb paramtb2)
    {
      this.a = paramtb1;
      this.b = paramtb2;
    }
    
    public void c()
    {
      this.a.b(false);
    }
    
    public void d()
    {
      this.a.b(this.b.K());
      this.a.a(this.b.A());
      this.a.a(this.b.D());
      this.a.c(this.b.I());
      this.a.b(this.b.H());
    }
  }
  
  static final class f_
    implements vc.ob_
  {
    private final ld a;
    private final boolean b;
    private boolean c;
    
    f_(ld paramld)
    {
      this(paramld, false);
    }
    
    f_(ld paramld, boolean paramBoolean)
    {
      this.a = paramld;
      this.b = paramBoolean;
    }
    
    public void c()
    {
      this.c = this.a.D();
      this.a.d(this.b);
    }
    
    public void d()
    {
      this.a.d(this.c);
      this.a.n().g().a(this.a.n());
    }
  }
  
  static final class k_
    implements vc.ob_
  {
    private final tb a;
    private final g b;
    private boolean c;
    
    k_(tb paramtb)
    {
      this.a = paramtb;
      this.b = paramtb.j();
    }
    
    public void c()
    {
      this.c = this.a.K();
      this.a.b(false);
    }
    
    public void d()
    {
      this.a.b(this.c);
      this.b.a(this.a.i());
    }
  }
  
  static final class sb_
    implements vc.ob_
  {
    private final ld a;
    private final boolean b;
    private final boolean c;
    
    sb_(ld paramld, boolean paramBoolean)
    {
      this(paramld, false, paramBoolean);
    }
    
    sb_(ld paramld, boolean paramBoolean1, boolean paramBoolean2)
    {
      this.a = paramld;
      this.b = paramBoolean1;
      this.c = paramBoolean2;
    }
    
    public void c()
    {
      this.a.d(this.b);
    }
    
    public void d()
    {
      this.a.d(this.c);
    }
  }
  
  static final class kb_
    implements vc.ob_
  {
    private final hg a;
    private final boolean b;
    
    kb_(hg paramhg, boolean paramBoolean)
    {
      this.a = paramhg;
      this.b = paramBoolean;
    }
    
    public void c()
    {
      this.a.f(false);
    }
    
    public void d()
    {
      this.a.f(this.b);
    }
  }
  
  static final class m_
    implements vc.ob_
  {
    private final tb a;
    private final boolean b;
    
    m_(tb paramtb, boolean paramBoolean)
    {
      this.a = paramtb;
      this.b = paramBoolean;
    }
    
    public void c()
    {
      this.a.b(false);
    }
    
    public void d()
    {
      this.a.b(this.b);
    }
  }
  
  static class h_
    implements vc.ob_
  {
    public void c() {}
    
    public void d() {}
  }
  
  static abstract interface ob_
  {
    public abstract void c();
    
    public abstract void d();
  }
  
  static final class vb_
    implements a.i.qb
  {
    private final pg a;
    
    vb_(pg parampg)
    {
      this.a = parampg;
    }
    
    public void a(double paramDouble)
    {
      this.a.a(paramDouble, this.a.J().getY());
    }
    
    public void b(double paramDouble)
    {
      this.a.a(this.a.J().getX(), paramDouble);
    }
  }
  
  static final class lb_
    implements a.i.qb
  {
    private ld a;
    
    public lb_(ld paramld)
    {
      this.a = paramld;
    }
    
    public void a(double paramDouble)
    {
      this.a.a(paramDouble);
    }
    
    public void b(double paramDouble)
    {
      this.a.b(paramDouble);
    }
    
    public ld a()
    {
      return this.a;
    }
    
    public void a(ld paramld)
    {
      this.a = paramld;
    }
  }
  
  static final class pb_
    implements pb
  {
    private final qb a;
    
    pb_(qb paramqb)
    {
      this.a = paramqb;
    }
    
    public double a()
    {
      return this.a.getBounds().getCenterX();
    }
    
    public double b()
    {
      return this.a.getBounds().getCenterY();
    }
  }
  
  static final class eb_
    implements fb, vc.hb_
  {
    public static final eb_ a = new eb_(0.0D);
    public static final eb_ b = new eb_(1.0D);
    private final double c;
    
    public eb_(double paramDouble)
    {
      this.c = paramDouble;
    }
    
    public void c(double paramDouble) {}
    
    public void a(double paramDouble) {}
    
    public void b(double paramDouble) {}
    
    public double a()
    {
      return this.c;
    }
    
    public double b()
    {
      return this.c;
    }
  }
  
  static final class qb_
    implements a.i.eb
  {
    public static final qb_ a = new qb_(0.0D);
    public static final qb_ b = new qb_(1.0D);
    private final double c;
    
    public qb_(double paramDouble)
    {
      this.c = paramDouble;
    }
    
    public void c(double paramDouble) {}
    
    public double a()
    {
      return this.c;
    }
  }
  
  static final class j_
    implements rb
  {
    private final a.i.eb a;
    private final a.i.eb b;
    private final vc.hb_ c;
    private final vc.hb_ d;
    
    public j_(boolean paramBoolean)
    {
      this(new vc.g_(paramBoolean), vc.qb_.a, vc.eb_.a, vc.eb_.b);
    }
    
    public j_(a.i.eb parameb1, a.i.eb parameb2, vc.hb_ paramhb_1, vc.hb_ paramhb_2)
    {
      this.a = parameb1;
      this.b = parameb2;
      this.c = paramhb_1;
      this.d = paramhb_2;
    }
    
    public void c(double paramDouble)
    {
      this.a.c(paramDouble);
      this.b.c(paramDouble);
      this.c.c(paramDouble);
      this.d.c(paramDouble);
    }
  }
  
  static final class fb_
    implements vc.hb_
  {
    private final double a;
    private final double b;
    private double c = 0.0D;
    
    public fb_(double paramDouble1, double paramDouble2)
    {
      this.a = paramDouble1;
      this.b = paramDouble2;
    }
    
    public void c(double paramDouble)
    {
      this.c = paramDouble;
    }
    
    public double a()
    {
      return (1.0D - this.c) * this.a + this.c * this.b;
    }
    
    public double b()
    {
      return (1.0D - this.c) * this.a + this.c * this.b;
    }
  }
  
  private static abstract interface hb_
    extends pb, rb
  {}
  
  static final class i_
    implements a.i.eb
  {
    private final double a;
    private double b;
    
    public i_(double paramDouble)
    {
      this.a = paramDouble;
    }
    
    public double a()
    {
      return this.b * this.a;
    }
    
    public void c(double paramDouble)
    {
      this.b = paramDouble;
    }
  }
  
  static final class g_
    implements a.i.eb
  {
    private final boolean a;
    private double b;
    
    public g_(boolean paramBoolean)
    {
      this.a = paramBoolean;
      this.b = (paramBoolean ? 0.0D : 1.0D);
    }
    
    public double a()
    {
      return this.b;
    }
    
    public void c(double paramDouble)
    {
      this.b = (this.a ? paramDouble : 1.0D - paramDouble);
    }
  }
}



/* Location:           E:\idea\

 * Qualified Name:     a.j.vc

 * JD-Core Version:    0.7.0.1

 */